package org.dubnation.user.rabbitmq.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.dubnation.base.util.audit.ErrorInfo;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class SendEntity {

    /**
     * 发送通知的用户
     */
    private String from;
    /**
     * 接收通知的用户
     */
    private String to;
    /**
     * 发送主题
     */
    private String subject;
    /**
     * 发送内容
     */
    private String content;
    /**
     * 错误信息
     */
    private ErrorInfo errorInfo;
}
